//
//  BVMyWalletViewController.m
//  BuyVegetable
//
//  Created by yushanchang on 16/10/4.
//  Copyright © 2016年 com.yinding. All rights reserved.
//

#import "BVMyWalletViewController.h"
#import "BVBalanceDetailViewController.h"

@interface BVMyWalletViewController ()
@property (weak, nonatomic) IBOutlet UIButton *rechargeButton;
@property (weak, nonatomic) IBOutlet UIView *backgroundView;

@end

@implementation BVMyWalletViewController
- (void)setRechargeButton:(UIButton *)rechargeButton{
    _rechargeButton = rechargeButton;
    rechargeButton.layer.borderWidth = 1.5;
    rechargeButton.layer.borderColor = [UIColor BVBaseOrangeColor].CGColor;
}
- (void)setBackgroundView:(UIView *)backgroundView {
    _backgroundView = backgroundView;
    backgroundView.backgroundColor = [UIColor BVBaseOrangeColor];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.title = @"我的钱包";
}
- (IBAction)rechargeClick:(id)sender {
    
    BVBalanceDetailViewController *balanceDetail = [[BVBalanceDetailViewController alloc]init];
    [self.navigationController pushViewController:balanceDetail animated:YES];
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
